package com.key.common.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Date;
import java.sql.Timestamp;
import java.util.List;

/**
 *
 * @description:实物信息变更的信息回显对象
 * @author: jianjiawei
 * @date: 2023/2/17 20:05
 */
@ApiModel("修改实物信息变更的信息回显")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class AssetChangeUpdateVO {
    @ApiModelProperty(name = "id",notes = "主键",dataType = "int",required = true)
    private Integer id;
    //变更单号
    @ApiModelProperty(name = "changeNo",notes = "变更单号",dataType = "String",required = true)
    private String changeNo;

    //业务日期
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(name = "changeDate",notes = "业务日期",dataType = "Date",required = true)
    private String changeDate;

    //资产id列表
    @ApiModelProperty(name = "assetIds",notes = "资产id列表",dataType = "String",required = true)
    private String assetIds;

    //资产类别
    @ApiModelProperty(name = "assetClassNew",notes = "资产类别",dataType = "String",required = true)
    private String assetClassNew;

    //资产型号
    @ApiModelProperty(name = "assetModelNew",notes = "资产型号",dataType = "String",required = true)
    private String assetModelNew;

    //资产名称
    @ApiModelProperty(name = "assetName",notes = "资产名称",dataType = "String",required = true)
    private String assetName;

    //购入日期
    @ApiModelProperty(name = "assetBuyDateNew",notes = "购入日期",dataType = "Date",required = true)
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private String assetBuyDateNew;
    //来源
    @ApiModelProperty(name = "assetSourceNew",notes = "来源",dataType = "String",required = true)
    private String assetSourceNew;
    //使用人
    @ApiModelProperty(name = "assetUserNew",notes = "使用人",dataType = "String",required = true)
    private String assetUserNew;
    //使用公司
    @ApiModelProperty(name = "assetUserCompNew",notes = "使用公司",dataType = "String",required = true)
    private String assetUserCompNew;
    //使用期限
    @ApiModelProperty(name = "assetLifeNew",notes = "使用期限",dataType = "String",required = true)
    private Integer assetLifeNew;
    //供应商
    @ApiModelProperty(name = "assetSupplierNew",notes = "供应商",dataType = "String",required = true)
    private String assetSupplierNew;
    //资产区域
    @ApiModelProperty(name = "assetRegionNew",notes = "资产区域",dataType = "String",required = true)
    private String assetRegionNew;
    //备注
    @ApiModelProperty(name = "remarks",notes = "备注",dataType = "String",required = false)
    private String remarks;
    //资产列表
    @ApiModelProperty(name = "ChangeAssetsListVO",notes = "资产列表",dataType = "List",required = true)
    private List<ChangeAssetsListVO> assetsList;
}
